<%@ page language="java" import="java.util.*,com.ncp.model.entity.registerlogin.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String email=(String)session.getAttribute("toAddress");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">   
    <title>获取验证码</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

<script type="text/javascript">

function gotomail(){
	
	var str='<%=email%>';
	var a=str.split("@");
	var newstr=a[1];
	window.open("http://mail."+newstr);
}
</script>
  </head>
  <body>
  <p>去邮箱获得验证码</p>
  <p>尊敬的用户：您的邮箱<%=email%>将收到一封获取验证码的邮件，请查收！</p>
  
    <a href="" onclick="gotomail();">立刻去邮箱获取！</a>
    <b><a href="index.jsp">>>>暂不获取，随便看看</a></b><br>
    <p>没有收到邮件？可以 到垃圾邮件目录里找找</p>
  </body>
</html>